<?php
error_reporting(E_ALL ^ E_NOTICE); //Desactivo los mensajes de error
session_start(); 
if(isset($_SESSION['usuario'])){
?>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="css/main_page.css" media="screen and (orientation:landscape)" />
		<link rel="stylesheet" href="css/main_portrait.css" media="screen and (orientation:portrait)" />
		<link rel="stylesheet" href="css/general.css" />
		<script src="js/jquery-1.8.2.js"></script>
		<script src="js/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/MyAjaxRules.js"></script>
		<script type="text/javascript" src="js/logout.js"></script>
		<title>Stick WARS</title>
		<!-- <script src="js/ajuste_txt.js"></script> -->
	</head>
	<body>
		<div id="page">
			<div id="header">
				<?php
				include ("containers/header.php");
				?>
			</div>
			<div id="container">
				<div id="content" class="centrar">
					<?php
					include ("includes/func_menu.php");
					?>
					<div class="clear">_____</div>
				</div>
			</div>
			<div id="footer">
				&nbsp;
				<?php
					include "containers/footer.php";
				?>
			</div>

		</div>
	</body>
</html>
<?php
}else header ('Location: index.php');
?>